<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script src="../vue.min.js"></script>
		<script>
			import Vue from 'vue'
			import Router from 'vue-router'
			import HelloWorld from '@/components/HelloWorld'
			//把对应的组件或页面引入进来
			import Login from '@/pages/login'
			Vue.use(Router)
			export default new Router({
				router:[
					{
						path:'/',//这里默认是跳转到HelloWorld组件，后期会改为项目首页
						name:'HelloWorld',
						component:HelloWorld
					},
					{
						path:'/login',
						name:'Login',
						component:Login
					}
				]
			})
		</script>
	</body>
</html>
